package com.echo.register.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.echo.register.model.user.Patient;

import java.util.List;

/**
 * @ClassName: PatientService
 * @Package: com.echo.register.user.service
 * @Description:
 * @Author 谢同学
 * @Create 2024/1/2 12:14
 * @Version 1.0
 */
public interface PatientService extends IService<Patient> {

    /**
     * 获取就诊人列表
     * @param userId 用户id
     * @return 就诊人信息
     */
    List<Patient> findAllUserId(Long userId);

    /**
     * 根据id获取就诊人信息
     * @param id
     * @return
     */
    Patient getPatientId(Long id);
}
